package com.tn.exam.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * InfoLearningtasks entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "info_learningtasks")
public class InfoLearningtasks extends BaseEntity implements java.io.Serializable {

	// Fields

	private Integer leaTasksId;
	private Integer leaTasksRefId;
	private Integer leaTasksCreatorId;
	private Date leaTasksCreateTime;
	private Date leaTasksBeginTime;
	private Date leaTasksEndTime;
	private Integer leaTasksStatus;

	// Constructors

	/** default constructor */
	public InfoLearningtasks() {
	}

	/** full constructor */
	public InfoLearningtasks(Integer leaTasksRefId, Integer leaTasksCreatorId,
			Date leaTasksCreateTime, Date leaTasksBeginTime,
			Date leaTasksEndTime, Integer leaTasksStatus) {
		this.leaTasksRefId = leaTasksRefId;
		this.leaTasksCreatorId = leaTasksCreatorId;
		this.leaTasksCreateTime = leaTasksCreateTime;
		this.leaTasksBeginTime = leaTasksBeginTime;
		this.leaTasksEndTime = leaTasksEndTime;
		this.leaTasksStatus = leaTasksStatus;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "lea_tasks_id", unique = true, nullable = false)
	public Integer getLeaTasksId() {
		return this.leaTasksId;
	}

	public void setLeaTasksId(Integer leaTasksId) {
		this.leaTasksId = leaTasksId;
	}

	@Column(name = "lea_tasks_ref_id")
	public Integer getLeaTasksRefId() {
		return this.leaTasksRefId;
	}

	public void setLeaTasksRefId(Integer leaTasksRefId) {
		this.leaTasksRefId = leaTasksRefId;
	}

	@Column(name = "lea_tasks_creator_id")
	public Integer getLeaTasksCreatorId() {
		return this.leaTasksCreatorId;
	}

	public void setLeaTasksCreatorId(Integer leaTasksCreatorId) {
		this.leaTasksCreatorId = leaTasksCreatorId;
	}

	@Column(name = "lea_tasks_create_time", length = 19)
	public Date getLeaTasksCreateTime() {
		return this.leaTasksCreateTime;
	}

	public void setLeaTasksCreateTime(Date leaTasksCreateTime) {
		this.leaTasksCreateTime = leaTasksCreateTime;
	}

	@Column(name = "lea_tasks_begin_time", length = 19)
	public Date getLeaTasksBeginTime() {
		return this.leaTasksBeginTime;
	}

	public void setLeaTasksBeginTime(Date leaTasksBeginTime) {
		this.leaTasksBeginTime = leaTasksBeginTime;
	}

	@Column(name = "lea_tasks_end_time", length = 19)
	public Date getLeaTasksEndTime() {
		return this.leaTasksEndTime;
	}

	public void setLeaTasksEndTime(Date leaTasksEndTime) {
		this.leaTasksEndTime = leaTasksEndTime;
	}

	@Column(name = "lea_tasks_status")
	public Integer getLeaTasksStatus() {
		return this.leaTasksStatus;
	}

	public void setLeaTasksStatus(Integer leaTasksStatus) {
		this.leaTasksStatus = leaTasksStatus;
	}

}